import type { FlieData } from './file'
	
interface Detail {
	id?: string
	spckid?:string
	spcwid?: string
	spbhid?: string
	spzs?:string
	price:number
	ssrqid?:number
	sheng?:string
	shi?: string
	startingWeight?: number
	upShelvesWeight: number
	spjsl?: string
	spckmc?: string
	spcd?: string
	wpggA?: string
	wpggB?: string
	wpggC?: string
	wpggD?: string
	wpggE?: string
	wpggF?: string
	wpggH?: string
	remark?: string
	subtotal?:number
	fileDataList?: Array<FlieData>
	weight:number
	num?:number
	sellid?:number
}

export interface GoodsDetailData {
	query: {
		spckid?: string
		spcwid?: string
		spbhid?: string
	}
	detail:Detail
}

export interface GoodsData {
	query:{
		keyword:string
		spzs:string
		orderBy:number
	}
	params: {
		pageNum: number
		pageSize: number
	},
	list: Array<Detail>,
	total: number
}

export interface SpecDetail {
	id: string
	name: string
	rsopmc?:string
}

export interface SpecData {
	query:object
	a:Array<SpecDetail>
	b:Array<SpecDetail>
	c:Array<SpecDetail>
	d:Array<SpecDetail>
	e:Array<SpecDetail>
	f:Array<SpecDetail>
	showAlla:boolean
	actives:any
}

export interface ShoppingCartDetailData {
	createid?: string
	createname?: string
	createtime?: string
	id?: string
	orderid?: string
	spkhmcid?: string
	num?: number
	price: number
	spbhid?: string
	spckid?: string
	spcwid?: string
	subtotal?: number
	updateid?: string
	updatename?: string
	updatetime?: string
	upShelvesWeight: number
	weight: number
}

export interface ShoppingCartData {
	query:object
	list: Array<{
		spckmc:string
		list:Array<Detail>
	}>,
	item:Detail
	total: number
	selection:any
}

